'use strict';
angular.module('com.lx.ngsl.menu.controller', [])
/**
 * 菜单&功能 的 controller
 */
.controller('menuEditController',['$scope','$http','$alert','menuService',function($scope,$http,$alert,menuService){
	$scope.queryMenu=function(){
	$http.get("/ngsl/menu/queryMenu",{}).success(
			function(data,status){
				$scope.menu=[{"name":"用户管理","href":"modules/user/views/user_list.html"},
                             {"name":"项目管理","href":"modules/project/views/project_list.html"}];
			}).error(function(data,staus){
				
			});
	};
	$scope.queryMenu();
	console.log("menu_edit");
}])
